import urllib.request
from urllib.parse import urlencode
import re
for i in range(751,752):
    res=open(str(i)+'.html','w',encoding='cp1251')
    link="http://toto.fonbet.com/list/en/"+str(i)+"/"
    f=urllib.request.urlopen(link)
    s=f.read().decode(encoding='cp1251',errors='strict')
    res.write(str(s))
    res.close()


